package model;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class TemplateMessage {
	@XStreamAlias("touser")
	private String touser;
	
	@XStreamAlias("template_id")
	private String template_id;
	
	@XStreamAlias("url")
	private String url;
	
	@XStreamAlias("miniprogram")
	private MiniProgram miniprogram;

	public String getTouser() {
		return touser;
	}

	public void setTouser(String touser) {
		this.touser = touser;
	}

	public String getTemplate_id() {
		return template_id;
	}

	public void setTemplate_id(String template_id) {
		this.template_id = template_id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public MiniProgram getMiniprogram() {
		return miniprogram;
	}

	public void setMiniprogram(MiniProgram miniprogram) {
		this.miniprogram = miniprogram;
	}

	@Override
	public String toString() {
		return "TemplateMessage [touser=" + touser + ", template_id=" + template_id + ", url=" + url + ", miniprogram="
				+ miniprogram + "]";
	}

	
	
}
